import Vue from 'vue'
import 'normalize.css'

import App from './App'
import router from './router'
import store from './store'
import utils from './utils'
import components from './components'
import directives from './directives'
import style from './style'
import clickoutside from 'element-ui/src/utils/clickoutside'
import VueSocketIO from 'vue-socket.io'

Vue.directive('clickoutside', clickoutside)

// Vue.use(
//   new VueSocketIO({
//     debug: true,
//     connection: 'http://127.0.0.1:7001'
//     // options: {
//     //   path: '/'
//     // }
//   })
// )
style.mount()
utils.mount()
components.mount()
directives.mount()

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
